export const INIT_STATE = 'INIT_STATE';
export const ADD_TO_SHELF = 'ADD_TO_SHELF';
export const DEL_FROM_SHELF = 'DEL_FROM_SHELF';
export const DEL_ALL_SHELF = 'DEL_ALL_SHELF';
export const SHELF_BOOK_UPDATE = 'SHELF_BOOK_UPDATE';
export const SET_HEADER_INFO = 'SET_HEADER_INFO';

export const SET_NIGHT_MODE = 'SET_NIGHT_MODE';
export const SET_SKIN_COLOR = 'SET_SKIN_COLOR';
export const SET_FONT_SIZE = 'SET_FONT_SIZE';

// 存储localStorage时设置前缀
const storePrefix = 'YOU_';
// 关于搜索历史
export const SEARCH_HISTORY =  'SEARCH_HISTORY';
export const SET_SEARCH_HISTORY = 'SET_SEARCH_HISTORY';
export const CLEAR_SEARCH_HISTORY = 'CLEAR_SEARCH_HISTORY';


export const CUR_BOOK = 'CUR_BOOK';

export const SHELF_BOOK = 'SHELF_BOOK';
export const NIGHT_MODE = 'NIGHTMODE';
export const SKIN_COLOR = 'SKINCOLOR';
export const FONT_SIZE = 'FONTSIZE';
export const HISTORY_BOOK = 'HISTORY_BOOK';
export const All_SORT = 'All_SORT';